export enum Type {
    UNKNOWN,
    PRODUCT = 1,
    AVATAR,
}

export function getType(category: Type): string {
    switch (category) {
        case Type.PRODUCT: return '产品图'
        case Type.AVATAR: return '头像图'
        default:
            return '其他'
    }
}